import type { Plugin, App } from "vue";
import TableMain from "./TableMain.vue";
export * from "./types";

export { TableMain };

const components = {
  TableMain,
};

export const tableInstall: Plugin = {
  install(app: App) {
    Object.entries(components).forEach(([name, component]) => {
      app.component(name, component);
    });
  },
};
